package com.shuyu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

@TableName("tblCustomerCardTransfer")
@Data
public class CustomerCardTransfer implements Serializable {
    private static final long serialVersionUID = 7350789856224609416L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer nftId;
    private BigInteger tokenId;
    private String fromNickname;
    private Long fromCustomerId;
    private String toNickname;
    private Long toCustomerId;
    private String collectionCode;
    private String transactionHash;
    private Date transactionTime;
    private String status;
    private Date finishTime;
    private Integer optionStatus;

    public CustomerCardTransfer(Integer nftId, BigInteger tokenId, String fromNickname, Long fromCustomerId, String toNickname, Long toCustomerId, String collectionCode, String transactionHash, Date transactionTime, String status) {
        this.nftId = nftId;
        this.tokenId = tokenId;
        this.fromNickname = fromNickname;
        this.fromCustomerId = fromCustomerId;
        this.toNickname = toNickname;
        this.toCustomerId = toCustomerId;
        this.collectionCode = collectionCode;
        this.transactionHash = transactionHash;
        this.transactionTime = transactionTime;
        this.status = status;
    }
}
